What's the difference between {} and [] in MATLAB?

Posted by Runner on Stack Overflow See other posts from Stack Overflow or by Runner
Published on 2010-04-16T16:58:46Z Indexed on 2010/04/16 17:03 UTC
Read the original article Hit count: 122

Filed under:
|
>> A={1 2;2 3}

A = 

    [1]    [2]
    [2]    [3]
>> A=[1 2;2 3]

A =

     1     2
     2     3

It seems to me they are essentially the same thing?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about syntax